package com.wangshili.sys.vo;

import java.io.Serializable;
import java.util.Date;

import com.wangshili.pojo.sys.entity.SysDept;

/**
 * 封装用户管理和部门信息，用于表现层
 * @author wangshili
 *
 */
public class SysUserDept implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7488873923543010261L;
	private Integer id;
	private String username;
	private String password;//md5
	private String salt;
	private String email;
	private String mobile;
	private Integer valid=1;
	private SysDept sysDept; //private Integer deptId;
	private Date createdTime;
	private Date modifiedTime;
	private String createdUser;
	private String modifiedUser;


	public Integer getValid() {
		return valid;
	}
	
	public void setValid(Integer valid) {
		this.valid = valid;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {

		return username;

	}

	public void setUsername(String username) {

		this.username = username;

	}

	public String getPassword() {

		return password;

	}

	public void setPassword(String password) {

		this.password = password;

	}

	public String getSalt() {

		return salt;

	}

	public void setSalt(String salt) {

		this.salt = salt;

	}

	public String getEmail() {

		return email;

	}

	public void setEmail(String email) {

		this.email = email;

	}

	public String getMobile() {

		return mobile;

	}

	public void setMobile(String mobile) {

		this.mobile = mobile;

	}



	public SysDept getSysDept() {

		return sysDept;

	}

	public void setSysDept(SysDept sysDept) {

		this.sysDept = sysDept;

	}

	public Date getCreatedTime() {

		return createdTime;

	}

	public void setCreatedTime(Date createdTime) {

		this.createdTime = createdTime;

	}

	public Date getModifiedTime() {

		return modifiedTime;

	}

	public void setModifiedTime(Date modifiedTime) {

		this.modifiedTime = modifiedTime;

	}

	public String getCreatedUser() {

		return createdUser;

	}

	public void setCreatedUser(String createdUser) {

		this.createdUser = createdUser;

	}

	public String getModifiedUser() {

		return modifiedUser;

	}

	public void setModifiedUser(String modifiedUser) {

		this.modifiedUser = modifiedUser;

	}

	@Override
	public String toString() {
		return "SysUserDept [id=" + id + ", username=" + username + ", password=" + password + ", salt=" + salt
				+ ", email=" + email + ", mobile=" + mobile + ", valid=" + valid + ", sysDept=" + sysDept
				+ ", createdTime=" + createdTime + ", modifiedTime=" + modifiedTime + ", createdUser=" + createdUser
				+ ", modifiedUser=" + modifiedUser + "]";
	}
	
	
}
